package com.coolingme.kpi;

/**
 * Kpi测试
 *
 * @author wangyue
 * @date 2020/10/10 10:38
 */
public class Test {

    public static void main(String[] args) {
        // 员工业务报表，初始化员工数据，提供访问者操作数据的方法
        BusinessReport businessReport = new BusinessReport();

        System.out.println("CTO看报表");
        CTOVisitor cto = new CTOVisitor();
        businessReport.showReport(cto);

        System.out.println("---------------------");

        System.out.println("CEO看报表");
        CEOVisitor ceo = new CEOVisitor();
        businessReport.showReport(ceo);
    }

}
